package ooDay02;

public class SwimTest {
    public static void main(String[] args) {
        Dog dog = new Dog("狮王",3,"黄");
        dog.eat();
        dog.drink();
        dog.swim();
        dog.lookHome();

        Chick chick =new Chick("小凤",1,"黄");
        chick.layEggs();
        chick.drink();
        chick.eat();

        Fish fish = new Fish("小彩",1,"彩");
        fish.drink();
        fish.eat();
        fish.swim();

    }
}
